home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP Şubat 1998.iso / drivers / SESK / orchspp / INSTALL.DAT < prev    next >
Text File  |  1993-03-11  |  22KB  |  718 lines

  1.  
  2. /*--------------------------------------------------------------------------
  3.   File Name: install.dat
  4.  
  5.   History: Robert W. Gilsdorf (August 24, 1992) File created
  6.        
  7.   Description: This is a script file that automates the installation process 
  8.            of the Sound Producer Pro Card.
  9. ---------------------------------------------------------------------------*/
  10. @DefineProject
  11.     @Name       = "Sound Producer Pro"
  12.     @Version    = "1.1"
  13.     @Immediate  = 1 
  14.     @Subdir     = "\\Producer\\"
  15.     @OutDrive   = C
  16. @EndProject
  17.  
  18. /*---------------------------- Define String -----------------------------*/
  19. @DefineVars
  20.  @Qstring @msgDII       = "Windows Driver and Icon Installation"
  21.  @Qstring @msgDrive     = "Please Select Destination Drive:"
  22.  @Qstring @msgDir       = "Please Enter a Directory name or select ENTER to accept default."   
  23.  @Qstring @msgNoFile    = "Some files are missing in your input directory:"
  24.  @Qstring @msgNPI       = "may not be properly installed."
  25.  @Qstring @msgSize      = "  The Complete Installation will create a Main Directory call PRODUCER and"
  26.  @Qstring @msgSizes     = "  seven subdirectories on your hard drive." 
  27.  @Qstring @msgDDNE      = "does not exist."
  28.  @Qstring @msgCont      = "If you choose to continue, one will be created."
  29.  @Qstring @msgdisk1     = "Insert Sound Producer Pro Disk #1 and Press any key to continue." 
  30.  @Qstring @msgdisk2     = "Insert Sound Producer Pro Disk #2 and Press any key to continue." 
  31.  @Qstring @msgWinqus    = "Is Microsoft Windows installed on your system?"
  32.  @Qstring @msgCDqus     = "Is a CD-ROM Drive connected to the Sound Producer Pro's AT-Bus Connector?"
  33.  @Qstring @msgCDqu1     = "If YES, a DEVICE statement will be added to your CONFIG.SYS file and a"
  34.  @Qstring @msgCDqu2     = "        APPLICATION RUN statement will be added to your AUTOEXEC.BAT file."
  35.  @Qstring @msgCDqu3     = "If NO, the installer will continue."
  36.  @Qstring @Reenter      = " Enter Again"
  37.  @Qstring @Cont         = "  Continue  "
  38.  @Qstring @NameSoundci  = "Sound Producer Pro Complete Installation"
  39.  @Qstring @NameMore     = "Information and Help"
  40.  @Qstring @NameOtherp   = "Other Orchid Products"
  41.  @Qstring @NameWin      = "Windows Applications"
  42.  @QString @NameDos      = "DOS Applications"
  43.  @Qstring @NameWinApp   = "Sound Producer Pro's Windows Applications"
  44.  @QString @NameDosApp   = "Sound Producer Pro's DOS Applications"
  45.  @Qstring @NameTchsupt  = "Technical Support"
  46.  @Qstring @NameSample   = "Build Voice Notes Playback Diskette" 
  47. @EndVars
  48.  
  49. /*----------------------- Introduction Message----------------------------*/
  50.  
  51. @display
  52. @cls
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                 
  59.  
  60.                 Sound Producer Pro
  61.  
  62.              Software and Driver Installation Program
  63.  
  64.  
  65.                  Disk Release 1.1
  66.  
  67.  
  68. @Pause
  69.  
  70. @Cls
  71. @EndDisplay
  72.  
  73. /*--------------------- Drive C: check for Installation-----------------*/
  74.  
  75. MenuError:
  76. @If ("@Indrive"=="C")
  77.     @Display
  78.  
  79.     The Installer Program must be run from a Floppy Drive.  Please use the  
  80.     <ESC> key and start over from the Floppy Drive.
  81.  
  82.      @Pause
  83.     @Abort
  84.    @EndDisplay
  85. @EndIf
  86.  
  87.  
  88. /*---------------------- Installation Main Menu --------------------------*/
  89. MenuMain:
  90.  @FlushOptions
  91.  @EnableF1(1)
  92.  @GetOption
  93.  @Cls
  94.  @LocalWindow (10,39)   
  95.   @Option 1000 = "@NameSoundci"
  96.   @Option 5000 = "@NameSample"
  97.   @Option 3000 = "@NameMore"
  98.  @EndOption
  99.  
  100.  @If (@Esc)
  101.      @Exit
  102.  @Elseif (@KeyF1)
  103.      @Help ("@ExePath\\install.hlp","HelpMainMenu","EndMainMenu")                   
  104.      @Goto MenuMain
  105.  @ElseIf (1000 [= @Option)
  106.      @Goto MenuSoundci
  107.  @ElseIf (5000 [=@Option)
  108.       @Goto MenuSample
  109.  @ElseIf (3000 [= @Option)
  110.      @Goto MenuMore
  111.  @Else
  112.      @Goto MenuMain
  113.  @Endif
  114.  
  115.  
  116.  
  117.  
  118. /*----------------- Complete Installation (1000) --------------------------*/
  119. MenuSoundci:
  120.  
  121. @ClearOption(1100) /* Press any key to continue prompt */
  122. @EnableF1(1)
  123.  
  124. @GetOption
  125.  @Cls
  126.  @LocalWindow (10,39)   
  127.  @msgSize 
  128.  @msgSizes
  129.  @Option 1100 = "Press <ENTER> to continue...or <ESC> to return to the Main Menu."
  130. @EndOption
  131.  
  132. @If (@Esc)
  133.  @Goto MenuMain
  134. @Elseif (@KeyF1)
  135.  @Help ("@ExePath\\install.hlp","HelpComplete","EndComplete")
  136.  @Goto MenuSoundci
  137. @Endif
  138.  
  139. InputDir:
  140. @EnableF1(0)
  141. @GetOutDrive
  142.  @Suppress A
  143.  @Suppress B
  144.  @Cls
  145.  @NameSoundci:
  146.  @msgDrive
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160. /* check to see if 4.5mb of hard disk space is available. */
  161. @If (@DiskFree @OutDrive < 4500000)
  162.     The selected output disk drive has less than 4.5MB free.  Please 
  163.     select another drive or remove some files from your hard drive.
  164.  
  165.     @Pause
  166. @EndIf
  167. @EndOutDrive
  168. @If (@Esc) @Goto MenuMain @Endif  
  169.  
  170.  
  171. @DefineDisk
  172.  @Label = "Sound Producer Pro Disk #1"
  173.  @BeginLib SPDRVUTL.001
  174.   @F action3.mid  @O @OutDrive:\@SubDir\utility\*.*   /*---utility----*/
  175.   @F azctl.dll    @O @OutDrive:\@SubDir\utility\*.*  
  176.   @F cdplay.exe   @O @OutDrive:\@SubDir\utility\*.*  
  177.   @F daplay.exe   @O @OutDrive:\@SubDir\utility\*.*  
  178.   @F demo1.sp     @O @OutDrive:\@SubDir\utility\*.*  
  179.   @F demo2.ss     @O @OutDrive:\@SubDir\utility\*.*  
  180.   @F play.exe     @O @OutDrive:\@SubDir\utility\*.*  
  181.   @F sample.wav   @O @OutDrive:\@SubDir\utility\*.*  
  182.   @F spconfig.exe @O @OutDrive:\@SubDir\utility\*.*  
  183.   @F spcox.exe    @O @OutDrive:\@SubDir\utility\*.*  
  184.   @F spmixer.exe  @O @OutDrive:\@SubDir\utility\*.*  
  185.   @F spmixtsr.exe @O @OutDrive:\@SubDir\utility\*.*  
  186.   @F spsetup.exe  @O @OutDrive:\@SubDir\utility\*.*  
  187.   @F win-mix.exe  @O @OutDrive:\@SubDir\utility\*.*  
  188.   @F win-mix.exe  @O C:\producer\utility\*.*  
  189.   @F pictbtn.dll  @O @OutDrive:\@SubDir\voyetra\jukebox\*.*   /*--voyetra\jukebox--*/ 
  190.   @F vctl.dll     @O @OutDrive:\@SubDir\voyetra\jukebox\*.*  
  191.   @F vmp_mm.dll   @O @OutDrive:\@SubDir\voyetra\jukebox\*.*  
  192.   @F vyiosvc2.dll @O @OutDrive:\@SubDir\voyetra\jukebox\*.*  
  193.   @F sample.juk   @O @OutDrive:\@SubDir\voyetra\jukebox\*.*  
  194.   @F wjuke.exe    @O @OutDrive:\@SubDir\voyetra\jukebox\*.*  
  195.   @F wjuke.exe    @O C:\producer\voyetra\jukebox\*.*  
  196.   @F america.mid  @O @OutDrive:\@SubDir\voyetra\songs\*.*   /*--voyetra\sounds--*/
  197.   @F cannon_d.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  198.   @F entrtanr.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  199.   @F hellomyb.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  200.   @F maplerag.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  201.   @F minwltz.mid  @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  202.   @F pete&wlf.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  203.   @F mood2.mid    @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  204.   @F prelue#3.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  205.   @F saintsgo.mid @O @OutDrive:\@SubDir\voyetra\songs\*.*  
  206.   @F dogbrk.wav   @O @OutDrive:\@SubDir\voyetra\sounds\*.*    /*--voyetra\songs--*/
  207.   @F glasbk.wav   @O @OutDrive:\@SubDir\voyetra\sounds\*.*  
  208.   @F space.wav    @O @OutDrive:\@SubDir\voyetra\sounds\*.*  
  209.   @F trainw.wav   @O @OutDrive:\@SubDir\voyetra\sounds\*.*  
  210.   @F juke1.fli    @O @OutDrive:\@SubDir\voyetra\sscript\*.*  /*--voyetra\sscript--*/
  211.   @F juke2.fli    @O @OutDrive:\@SubDir\voyetra\sscript\*.*  
  212.   @F jukeseq.wav  @O @OutDrive:\@SubDir\voyetra\sscript\*.*  
  213.   @F midijuke.scr @O @OutDrive:\@SubDir\voyetra\sscript\*.*  
  214.   @F ss.exe       @O @OutDrive:\@SubDir\voyetra\sscript\*.*  
  215.   @F tapisg.com   @O @OutDrive:\@SubDir\voyetra\sscript\*.*  
  216.   @F vmp.com      @O @OutDrive:\@SubDir\voyetra\sscript\*.*  
  217.   @F pictbtn.dll  @O @OutDrive:\@SubDir\voyetra\windat\*.*   /*--voyetra\windat--*/
  218.   @F vctl.dll     @O @OutDrive:\@SubDir\voyetra\windat\*.*  
  219.   @F vmp_mm.dll   @O @OutDrive:\@SubDir\voyetra\windat\*.*  
  220.   @F vyiosvc2.dll @O @OutDrive:\@SubDir\voyetra\windat\*.*  
  221.   @F windat.hlp   @O @OutDrive:\@SubDir\voyetra\windat\*.*  
  222.   @F windat.exe   @O @OutDrive:\@SubDir\voyetra\windat\*.*  
  223.   @F windat.exe   @O c:\producer\voyetra\windat\*.*  
  224.   @F disk1        @O @OutDrive:\@SubDir\windows\*.*        /*---windows-----*/
  225.   @F producer.drv @O @OutDrive:\@SubDir\windows\*.*  
  226.   @F midimap.cfg  @O @OutDrive:\@SubDir\windows\*.*  
  227.   @F oemsetup.inf @O @OutDrive:\@SubDir\windows\*.*  
  228.   @F spaux.drv    @O @OutDrive:\@SubDir\windows\*.*  
  229.   @F spprofm.drv  @O @OutDrive:\@SubDir\windows\*.*  
  230.   @F vsgd.386     @O @OutDrive:\@SubDir\windows\*.*  
  231.   @F midijuke.bat @O @OutDrive:\@SubDir\*.*               /*---producer---*/
  232.   @F song.bat     @O @OutDrive:\@SubDir\*.*              
  233.   @F spmaster.bat @O @OutDrive:\@SubDir\*.*              
  234.   @F tapisg.com   @O @OutDrive:\@SubDir\utility\*.*  
  235.   @F vmp.com      @O @OutDrive:\@SubDir\utility\*.*  
  236.   @F spcdu.sys    @O @OutDrive:\@SubDir\utility\*.*    
  237.   @F tapisg.com   @O @OutDrive:\@SubDir\drivers\*.*  
  238.   @F vmp.com      @O @OutDrive:\@SubDir\drivers\*.*  
  239.   @F spcdu.sys    @O @OutDrive:\@SubDir\drivers\*.*  
  240.   @F 1st_noel.cmf @O @OutDrive:\@SubDir\stracks\*.*  /*---stracks---*/
  241.   @F bach.cmf     @O @OutDrive:\@SubDir\stracks\*.*  
  242.   @F cannon_d.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  243.   @F entrtanr.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  244.   @F greenslv.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  245.   @F hellomyb.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  246.   @F invent.cmf   @O @OutDrive:\@SubDir\stracks\*.*  
  247.  
  248.  
  249.  @EndLib
  250. @EndDisk
  251.  
  252.  
  253.  
  254.  
  255.  
  256. @Chain ("Sound Producer Pro Disk #2", , "MenuDiskTwo")
  257.  
  258.  
  259.  
  260.  
  261.  
  262. MenuDiskTwo: 
  263. @DefineDisk 
  264.  @Label = "Sound Producer Pro Disk #2"
  265.  @BeginLib SPDRVUTL.002
  266.   @F maplerag.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  267.   @F minwltz.cmf  @O @OutDrive:\@SubDir\stracks\*.*  
  268.   @F mood2.cmf    @O @OutDrive:\@SubDir\stracks\*.*  
  269.   @F pete&wlf.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  270.   @F prelue#3.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  271.   @F saintsgo.cmf @O @OutDrive:\@SubDir\stracks\*.*  
  272.   @F silent.cmf   @O @OutDrive:\@SubDir\stracks\*.*  
  273.   @F song.exe     @O @OutDrive:\@SubDir\stracks\*.*  
  274.   @F song.lst     @O @OutDrive:\@SubDir\stracks\*.*  
  275.   @F spmaster.exe @O @OutDrive:\@SubDir\spmaster\*.*  /*---spmaster-----*/
  276.   @F stereo.voc   @O @OutDrive:\@SubDir\spmaster\*.*  
  277.   @F test.voc     @O @OutDrive:\@SubDir\spmaster\*.*    
  278.   @F cfgrun.exe   @O @OutDrive:\@SubDir\monolog\*.*  /*--Monolog sub --- */
  279.   @F config.bat   @O @OutDrive:\@SubDir\monolog\*.*  
  280.   @F detaudio.exe @O @OutDrive:\@SubDir\monolog\*.*  
  281.   @F install.exe  @O @OutDrive:\@SubDir\monolog\*.*  
  282.   @F int4dapi.com @O @OutDrive:\@SubDir\monolog\*.*  
  283.   @F kernel.dic   @O @OutDrive:\@SubDir\monolog\*.*  
  284.   @F mono.bat     @O @OutDrive:\@SubDir\monolog\*.*  
  285.   @F mono.par     @O @OutDrive:\@SubDir\monolog\*.*  
  286.   @F monocfg.hlp  @O @OutDrive:\@SubDir\monolog\*.*  
  287.   @F monocfg.sdx  @O @OutDrive:\@SubDir\monolog\*.*  
  288.   @F monolog.cfg  @O @OutDrive:\@SubDir\monolog\*.*  
  289.   @F monolog.exe  @O @OutDrive:\@SubDir\monolog\*.*  
  290.   @F monolog.inf  @O @OutDrive:\@SubDir\monolog\*.*  
  291.   @F monorun.exe  @O @OutDrive:\@SubDir\monolog\*.*  
  292.   @F nosound.exe  @O @OutDrive:\@SubDir\monolog\*.*  
  293.   @F readme       @O @OutDrive:\@SubDir\monolog\*.*  
  294.   @F readme.bat   @O @OutDrive:\@SubDir\monolog\*.*  
  295.   @F remove.exe   @O @OutDrive:\@SubDir\monolog\*.*  
  296.   @F sayf.exe     @O @OutDrive:\@SubDir\monolog\*.*  
  297.   @F sayfile.bat  @O @OutDrive:\@SubDir\monolog\*.*  
  298.   @F sayfile.doc  @O @OutDrive:\@SubDir\monolog\*.*  
  299.   @F soundexx.exe @O @OutDrive:\@SubDir\monolog\*.*  
  300.   @F soundnxp.exe @O @OutDrive:\@SubDir\monolog\*.*  
  301.   @F soundnxx.exe @O @OutDrive:\@SubDir\monolog\*.*  
  302.   @F soundpwm.exe @O @OutDrive:\@SubDir\monolog\*.*  
  303.   @F speech.exe   @O @OutDrive:\@SubDir\monolog\*.*  
  304.   @F unload.bat   @O @OutDrive:\@SubDir\monolog\*.*  
  305.   @F v4eng.hsh    @O @OutDrive:\@SubDir\monolog\*.*  
  306.   @F v4eng.rul    @O @OutDrive:\@SubDir\monolog\*.*  
  307.   @F v4eng11k.dmi @O @OutDrive:\@SubDir\monolog\*.*  
  308.   @F v4eng11k.ins @O @OutDrive:\@SubDir\monolog\*.*  
  309.   @F v4eng11k.pcm @O @OutDrive:\@SubDir\monolog\*.*  
  310.   @F aapisg.com   @O @OutDrive:\@SubDir\drivers\*.*  /*--Drivers sub --- */ 
  311.   @F mscdex.exe   @O @OutDrive:\@SubDir\drivers\*.*  
  312.   @F sapisg.com   @O @OutDrive:\@SubDir\drivers\*.*  
  313.   @F vapisg.com   @O @OutDrive:\@SubDir\drivers\*.*  
  314.  
  315.  
  316.  @EndLib
  317. @EndDisk
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325. @Chain ("Sound Producer Pro Disk #1", , "MenuDiskOne")
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. MenuDiskOne: 
  335. /*---------------------------QUESTION SECION OF A COMPLETE INSTALL ------*/
  336.  
  337. MenuCDcomplete:
  338. @ClearOption(2600)  /*YES*/
  339. @ClearOption(2700)  /*NO*/
  340. @EnableF1(1)
  341.  
  342. @GetOption
  343.  @LocalWindow (10,40)
  344.  @Cls
  345.  @msgCDqus
  346.  @msgCDqu1
  347.  @msgCDqu2
  348.  @msgCDqu3
  349.  @Option 2600 = "YES"
  350.  @option 2700 = "NO"
  351. @EndOption
  352.  
  353. @If (@Esc)
  354.  @Goto MenuMain
  355. @Elseif (@KeyF1)
  356.      @Help ("@ExePath\\install.hlp","HelpCDqus","EndCDqus")
  357. @Elseif (2600 [= @Option)
  358.  @CatFiles  ("C:\\CONFIG.SP1", "C:\\CONFIG.SYS")
  359.  @WriteFile ("C:\\CONFIG.SYS", "NOSECTION", "SPCDU.SYS", "Device=@OutDrive:\\PRODUCER\\DRIVERS\\SPCDU.SYS /D:MSCD000", "REPLACE")
  360.  @CatFiles  ("C:\\AUTOEXEC.SP1", "C:\\AUTOEXEC.BAT")
  361.  @WriteFile ("C:\\AUTOEXEC.BAT", "NOSECTION", "MSCDEX.EXE", "@OutDrive:\\PRODUCER\\DRIVERS\\MSCDEX.EXE /D:MSCD000", "REPLACE")
  362.  @Help ("@ExePath\\install.hlp","HelpCDcomplete","EndCDcomplete")
  363.  @Goto MenuWinqus
  364. @Elseif (2700 [= @Option)
  365.  @Goto MenuWinqus
  366. @Endif
  367. @Goto MenuCDcomplete 
  368.  
  369.  
  370.  
  371.  
  372. MenuWinqus:
  373. @ClearOption(2800)  /*YES*/
  374. @ClearOption(2900)  /*NO*/
  375. @EnableF1(1)
  376.  
  377. @GetOption
  378.  @LocalWindow (10,40)
  379.  @Cls
  380.  @msgWinqus
  381.  @Option 2800 = "YES"
  382.  @option 2900 = "NO"
  383. @EndOption
  384.  
  385. @If (@Esc)
  386.  @Goto MenuMain
  387. @Elseif (@KeyF1)
  388.  @Help ("@ExePath\\install.hlp","HelpWinqus","EndWinqus")
  389. @Elseif (2800 [= @Option)
  390.  @Goto MenuWinOne
  391. @Elseif (2900 [= @Option)
  392.  @Goto MenuMain
  393. @Endif
  394. @Goto MenuWinqus
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401. /*----------------------- Information Section (More) ------------------*/
  402. MenuMore:
  403. @ClearOption(3010)
  404. @ClearOption(3020)
  405. @ClearOption(3030)
  406. @ClearOption(3040) 
  407.  @EnableF1(1)
  408.  @GetOption
  409.  @Cls
  410.  @LocalWindow (10,39)   
  411.   @Option 3010 = "@NameWin"
  412.   @Option 3020 = "@NameDos"
  413.   @Option 3030 = "@NameOtherp"
  414.   @Option 3040 = "@NameTchsupt"
  415.  
  416.  @EndOption
  417.  
  418.  
  419.  @If (@Esc)
  420.      @Goto MenuMain
  421.   @Elseif (@KeyF1)
  422.      @Help ("@ExePath\\install.hlp", "HelpMore", "EndMore")
  423.   @ElseIf (3010 [=@Option)
  424.      @Help ("@ExePath\\install.hlp", "HelpWin", "EndWin")
  425.   @ElseIf (3020 [=@Option)
  426.      @Help ("@ExePath\\install.hlp", "HelpDos", "EndDos")
  427.   @ElseIf (3030 [=@Option)
  428.      @Help ("@ExePath\\install.hlp", "HelpOtherp", "EndOtherp")
  429.   @ElseIf (3040 [=@Option)
  430.      @Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
  431.  
  432. @endif
  433. @Goto MenuMore
  434.  
  435.  
  436.  
  437.  
  438.  
  439. /*-------------------------Windows installation-------------------*/
  440.  
  441. MenuWinOne:
  442. @EnableF1(0)
  443. @GetOutDrive
  444.  @Suppress A
  445.  @Suppress B 
  446.  @Cls
  447.  @NameWin @msgDII
  448.  @msgDrive
  449.  
  450. @EndOutDrive
  451. @If (@Esc) @Goto MenuMain @EndIf
  452.  
  453.  
  454.  
  455. @GetSubdir
  456.  @Default = "\\WINDOWS"    
  457.  @Cls
  458.  @msgDII
  459.  @msgDir
  460.  
  461.  
  462. @EndSubdir
  463. @If (@Esc) @Goto MenuMain @EndIf
  464.  
  465. @ClearOption(1)
  466. @ClearOption(2)
  467. @EnableF1(0)
  468. @GetOption
  469.  @LocalWindow (10,39) 
  470.  @If (@Exists "@OutDrive:\\@SubDir" == 0)
  471.   @Cls
  472.   @msgDII
  473.   @OutDrive:@SubDir @msgDDNE
  474.   @msgCont
  475.  @ElseIf ((@Exists "@OutDrive:\\@SubDir\\winver.exe" == 0) ||
  476.       (@Exists "@OutDrive:\\@SubDir\\win.ini" == 0))
  477.   @Cls
  478.   @msgDII
  479.   @msgNoFile
  480.   @OutDrive:@SubDir
  481.   @NameWinApp @msgNPI
  482.  @Else
  483.   @Goto MenuFileWin
  484.  @EndIf
  485.  @Option 1 = "@Reenter"
  486.  @Option 2 = "@Cont"
  487. @EndOption
  488. @If (@Esc)
  489.   @Goto MenuMain
  490. @Elseif (1 [= @Option)
  491.   @Goto MenuWinOne
  492. @Endif
  493.  
  494.  
  495.  
  496. MenuFileWin:
  497. @DefineDisk
  498. @Label = "Sound Producer Pro Disk #1"
  499. @BeginLib SPDRVUTL.001   
  500.  @F Producer.drv @O @OutDrive:\@SubDir\SYSTEM\*.* 
  501.  @F Midimap.cfg  @O @OutDrive:\@SubDir\SYSTEM\*.* 
  502.  @F spprofm.drv  @O @OutDrive:\@SubDir\SYSTEM\*.* 
  503.  @F spaux.drv    @O @OutDrive:\@SubDir\SYSTEM\*.*
  504.  @F vmp_mm.dll   @O @OutDrive:\@SubDir\SYSTEM\*.* 
  505.  @F vyiosvc2.dll @O @OutDrive:\@SubDir\SYSTEM\*.* 
  506.  @F vctl.dll     @O @OutDrive:\@SubDir\SYSTEM\*.* 
  507.  @F orchhook.dll @O @OutDrive:\@SubDir\SYSTEM\*.* 
  508.  @F azctl.dll    @O @OutDrive:\@SubDir\SYSTEM\*.*  
  509.  @F pictbtn.dll  @O @OutDrive:\@SubDir\SYSTEM\*.*  
  510.  @F vsgd.386     @O @OutDrive:\@SubDir\SYSTEM\*.*  
  511.  @F sppro.grp    @O @OutDrive:\@SubDir\*.* 
  512.  @F voicente.grp @O @OutDrive:\@SubDir\*.*
  513.  @F orchnote.exe @O c:\windows\SYSTEM\*.* 
  514.  @F ovn.hlp      @O c:\windows\SYSTEM\*.* 
  515.  
  516.  
  517. @EndLib 
  518. @EndDisk
  519.  
  520. @Display
  521. @If (@Exists "@OutDrive:\\@SubDir\\progman.sp1" == 1)
  522.     @Goto MenuSkip
  523. @EndIf
  524.  
  525. @CatFiles  ("@OutDrive:\\@SubDir\\progman.sp1", "@OutDrive:\\@SubDir\\progman.ini")
  526. @CatFiles  ("@OutDrive:\\@SubDir\\system.sp1", "@OutDrive:\\@SubDir\\system.ini")
  527. @CatFiles  ("@OutDrive:\\@SubDir\\system\\setup.sp1", "@OutDrive:\\@SubDir\\system\\setup.inf")
  528.  
  529. MenuSkip:
  530. @WriteFile ("@OutDrive:\\@SubDir\\progman.ini", "groups", "group98=", "@OutDrive:\\@SubDir\\sppro.grp", "APPEND")
  531.  
  532. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "drivers", "PRODUCER.DRV", "MIDI=PRODUCER.DRV", "REPLACE")
  533. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "drivers", "Wave=", "WAVE=PRODUCER.DRV", "REPLACE")
  534. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "drivers", "MIDI1=", "MIDI1=spprofm.drv", "REPLACE")
  535. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "drivers", "AUX=", "AUX=spaux.drv", "REPLACE")
  536.  
  537. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "producer.drv", "port=", "port=220", "REPLACE")
  538. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "producer.drv", "int=", "int=7", "REPLACE")
  539. @WriteFile ("@OutDrive:\\@SubDir\\system.ini", "producer.drv", "DMAchannel=", "DMAchannel=1", "REPLACE")
  540.  
  541. @WriteFile ("@OutDrive:\\@SubDir\\system\\setup.inf","Installable.Drivers","spprofm.drv", "spprofm = 1:spprofm.drv, \"MIDI\", \" Sound Producer Pro FM Synth\", ", "REPLACE") 
  542. @WriteFile ("@OutDrive:\\@SubDir\\system\\setup.inf","Installable.Drivers","spaux", "spaux = 1:spaux.drv, \"AUX\", \" Sound Producer Pro Auxiliary Audio\", ", "REPLACE") 
  543. @WriteFile ("@OutDrive:\\@SubDir\\system\\setup.inf","Installable.Drivers","Producer.drv", "Producer = 1:producer.drv, \"Wave,MIDI\", \" Sound Producer Pro WAVE & MIDI\",1:vsgd.386,,spprofm", "REPLACE") 
  544.  
  545. @EndDisplay
  546.  
  547.  
  548. @Help ("@ExePath\\install.hlp", "HelpUseWin", "EndUseWin")
  549. @Display
  550. @Cls
  551.  
  552.  
  553.  
  554.  
  555. ***************************************************************************
  556. **** The installation of the Orchid's Sound Producer Pro Drivers and   ****
  557. **** Programs are now completed.                                       ****
  558. ***************************************************************************
  559.  
  560.  
  561. @Pause
  562. @EndDisplay
  563. @Goto MenuMain
  564.  
  565.  
  566.  
  567.  
  568. /*-------------------- Sample disk build utility ------------------*/
  569.  
  570. MenuSample:
  571. @ClearOption(9010)
  572. @ClearOption(9020)
  573. @ClearOption(9030)
  574. @ClearOption(9040) 
  575.  @EnableF1(1)
  576.  @GetOption
  577.  @Cls
  578.  @LocalWindow (10,39)   
  579.   @Option 9010 = "Copy files from Master Drive A: to a Formatted Floppy Drive A:"
  580.   @Option 9020 = "Copy files from Master Drive A: to a Formatted Floppy Drive B:"
  581.   @Option 9030 = "Copy files from Master Drive B: to a Formatted Floppy Drive A:"
  582.   @Option 9040 = "Copy files from Master Drive B: to a Formatted Floppy Drive B:"
  583.  
  584.  @EndOption
  585.  
  586.  
  587.  @If (@Esc)
  588.      @Goto MenuMain
  589.   @Elseif (@KeyF1)
  590.      @Help ("@ExePath\\install.hlp", "HelpCopy", "EndCopy")
  591.   @ElseIf (9010 [=@Option)
  592.      @Goto MenuAA
  593.   @ElseIf (9020 [=@Option)
  594.      @Goto MenuBB
  595.   @ElseIf (9030 [=@Option)
  596.      @Goto MenuAA
  597.   @ElseIf (9040 [=@Option)
  598.      @Goto MenuBB
  599. @endif
  600. @Goto MenuSample
  601.  
  602.  
  603.  
  604. /*--------------------- Information on AA   -----------------------*/
  605. MenuAA:
  606. @EnableF1(0)
  607. @If (!@DriveExists(C))
  608.     @Display
  609.        This program requires a Hard Disk Drive to complete this copy.
  610.  
  611.       @Pause
  612.     @Goto MenuMain
  613.     @EndDisplay
  614. @EndIf
  615.  
  616.  
  617.  
  618. @DefineDisk 
  619.  @Label = "Sound Producer Pro Disk #1"
  620.  @BeginLib SPDRVUTL.001
  621.   @F ovnplay.exe   @O C:\producer\temp\*.* 
  622.   @F speaker.drv   @O C:\producer\temp\*.*  
  623.   @F disk.id       @O C:\producer\temp\*.*  
  624.   @F installc.dat  @O C:\producer\temp\install.dat  
  625.   @F installc.hlp  @O C:\producer\temp\install.hlp  
  626.   @F copya.bat     @O C:\producer\temp\MAKEDISK.BAT  
  627.  @EndLib
  628.  @F sinstall.exe   @O C:\producer\temp\install.exe 
  629. @EndDisk
  630.  
  631.  
  632. @Display                    
  633.  @Cls
  634.   @System "C:\\producer\\temp\\makedisk.bat"
  635.  @Cls
  636.  @Help ("@ExePath\\install.hlp", "HelpCopy", "EndCopy")
  637.  @Cls
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  Voice Notes Playback Diskette Copy Now Completed....
  645.     
  646.     To repeat, just type "MAKEDISK" from the \PRODUCER\TEMP Subdirectory.
  647.  
  648.            Press any key to return to the Main Menu.
  649.  
  650.  
  651.  
  652.  
  653.  
  654.   @Pause
  655. @EndDisplay
  656.  
  657. @Goto MenuMain
  658.  
  659.  
  660.  
  661. /*--------------------- Information on BB   -----------------------*/
  662. MenuBB:
  663. @EnableF1(0)
  664. @If (!@DriveExists(C))
  665.     @Display
  666.        This program requires a Hard Disk Drive to complete this copy.
  667.  
  668.       @Pause
  669.     @Goto MenuMain
  670.     @EndDisplay
  671. @EndIf
  672.  
  673.  
  674.  
  675.  
  676. @DefineDisk 
  677.  @Label = "Sound Producer Pro Disk #1"
  678.  @BeginLib SPDRVUTL.001
  679.   @F ovnplay.exe   @O C:\producer\temp\*.*  
  680.   @F speaker.drv   @O C:\producer\temp\*.*  
  681.   @F disk.id       @O C:\producer\temp\*.*  
  682.   @F installc.dat  @O C:\producer\temp\install.dat  
  683.   @F installc.hlp  @O C:\producer\temp\install.hlp  
  684.   @F copyb.bat     @O C:\producer\temp\MAKEDISK.BAT  
  685.  @EndLib
  686.  @F sinstall.exe   @O C:\producer\temp\install.exe 
  687. @EndDisk
  688.  
  689.  
  690.  
  691. @Display                    
  692.  @Cls
  693.   @System "C:\\producer\\temp\\makedisk.bat"
  694.  @Cls
  695.  @Help ("@ExePath\\install.hlp", "HelpCopy", "EndCopy")
  696.  @Cls
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  Voice Notes Playback Diskette Copy Now Completed....
  704.     
  705.     To repeat, just type "MAKEDISK" from the \PRODUCER\TEMP Subdirectory.
  706.  
  707.            Press any key to return to the Main Menu.
  708.  
  709.  
  710.  
  711.  
  712.  
  713.   @Pause
  714. @EndDisplay
  715.  
  716. @Goto MenuMain
  717.  
  718.